package com.ruoyi.project.pay.ali.modal;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * Filename: AliWithdrawModal.java <br>
 * <p>
 * Description: 支付宝提现<br>
 *
 * @author: rongrong <br>
 * @version: 1.0 <br>
 * @Createtime: 2019-12-09 <br>
 * <p>
 * Modification History:
 * Date         Author          Version            Description
 * ---------------------------------------------------------*
 * 2019-12-09       rongrong            v1.0              第一次创建
 * @Copyright: Copyright (c)2019 by rongrong <br>
 */
@Data
@Component
public class AliWithdrawModal {

    /**
     * 应用Appid
     */
    @Value("${ali-pay.withdraw.appid}")
    private String appid;
    /**
     * 应用私钥
     */
    @Value("${ali-pay.withdraw.private_key}")
    private String private_key;
    /**
     * 支付宝公钥
     */
    @Value("${ali-pay.withdraw.publice_key}")
    private String publice_key;

    /**
     * 订单id
     */
    private String orderId;

    /**
     * 提现用户支付宝账号 2088xxx
     */
    private String aliAccount;

    /**
     * 提现金额
     */
    private String money;

    /**
     * 应用名称
     */
    private String payerShowName;

    /**
     * 备注
     */
    private String remark;

}
